MOSH-2458: Add GET /v1/fine-tunes/{id}/metrics endpoint#253
MOSH-2458: Add GET /v1/fine-tunes/{id}/metrics endpoint#253artek0chumak merged 4 commits intomainfrom
Conversation
✱ Stainless preview buildsThis PR will update the go openapi python terraform typescript
|
| items: | ||
| type: object | ||
| properties: | ||
| job_id: |
| type: string | ||
| description: Fine-tune job ID. | ||
| example: ft-abc123 | ||
| global_step: |
| format: int64 | ||
| description: Training step at which this snapshot was recorded. | ||
| example: 100 | ||
| is_eval: |
| type: boolean | ||
| description: Whether this was recorded during an evaluation step. | ||
| example: false | ||
| run_started_at: |
| format: date-time | ||
| description: When the training run started. | ||
| example: "2024-01-01T00:00:00Z" | ||
| logged_at: |
| '400': | ||
| description: Invalid request — bad JSON body or missing job ID. | ||
| '500': | ||
| description: Internal server error — failed to retrieve metrics. |
| -H "Authorization: Bearer $TOGETHER_API_KEY" \ | ||
| -H "Content-Type: application/json" \ | ||
| -d '{ | ||
| "global_step_from": 0, |
There was a problem hiding this comment.
we probably can add time filters to example too
| global_step_from: | ||
| type: integer | ||
| format: int64 | ||
| description: Return only rows with global_step >= this value. |
There was a problem hiding this comment.
rows is a bit internal wording. I'd go with metrics
This PR adds GET metrics endpoint for the FT jobs